convert the JSON into the compatible array for the map and diaply it on the places index page