JSON parsing code written to get distances between consecutive attractions on all days