using FeatureJSON.writeFeatureCollection to build the geoson string