parse data structure of input, geocode each location and add to output, add reverse geocode