Serialize a ChordModel to the canonical JSON shape. The shape is the contract (byte-identical to the Python reference serializer).
Serialize a ChordModel to the canonical JSON shape. The shape is the contract (byte-identical to the Python reference serializer).