add limit in 'generate_city_json'