Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
Used as a placeholder to easily convert runtime types to a Pydantic format to provide validation.
For example:
validated = RootModel[int](__root__="5").__root__
# validated: 5