API Models are serialized and deserialized using cosmic.models