Fix generation of JSON data for tile server map