Convert this class to JSON assuming that the to_simple() returns a pydantic model.
to_simple()
bool
Return minimal possible representation.
to_json_pydantic()