Modified foursquare data processing to use flat object