ContributionsMost RecentMost LikesSolutionsArray to FlatFile I have the following json: [ { “name”: [ “John”, “Rick”, “Martha” ], “city”: [ “New york”, “Washington”, “Delhi” ], “gender”: [ “Male”, “Male”, “Female” ] } ] Need to write this into csv but csv formatter needs the data to be flattened. How can i do this. Mapping requirement I have the following :- [{ “key”:[ “name”, “organization”, “city”, “state” ], “value”:[ “abc”, “xyz”, “pune”, “maharashtra” ]}, { “key”:[ “name”, “organization”, “city”, “state” ], “value”:[ “cde”, “pqr”, “mumbai”, “maharashtra” ]}, { “key”:[ “name” “city” “country” ], “value”:[ “def” “nashik” “india” ] }] how do i convert this into key:value set to write this into csv Requirement- { “name”:{“abc”, “cde”, “def”}, “organization”:{“xyz”, “pqr”, “null”}, “city”:{“pune”, “mumbai”, “nashik”}, country:{“null”, “null”, “india”} }