Fixing Types for latitude and longitude to float and getting a JSON type response when list method is called