I would like to transform my initial data to desired result, I am struggling with pushing the cities to the array and making sure name key is unique.
initial data