Point and LineString serialization support