Adding placesApiCaller code to turn name&latlong into json object.