pydantic create class from json schema