Right now there's a lot of annoying stuff we do because of our initial choice of building in Python.
Pydantic has the very annoying property of not having an invertible .model_json_schema() which means we have a large library that should just be expressing serde and a few common behaviors.