JSON Deserialization in RhinoCommon

Brute forcing it now, with something like this:

but weirdly, a serialized mesh will cast to PolylineCurve, and IsValid returns true! then it tries to handover the mesh-as-polyline and I get this:
image