Modify foursquare data processing to use flat object