Pydantic dict basemodel. Improve this question.