Convert the layer to GeoJSON for tests

This allows checking of the entire layer at once, presuming serialization is consistent.
I'm using a raw string with the number of ``"`` I'd otherwise have to escape