Flat Nested Array Python Example