The best thing we can do is to serialize it as a LineString. The LinearRing type won't be preserved after a serde roundtrip. The same thing happens when serializing a LinearRing as WKB and then ...