Download Data to a JSON or GeoJSON File