Turn Nested List Into Dictionary Python