Resolve issue of empty feature collections causing invalid geojson