start of refactor to use SQL API directly to grab GeoJSON files