We have `feature.toGeoJSON`, but also need `layer.toGeoJSON` which returns a feature collection for convenience.