Pydantic dict type. type_ but I assume there's a better way.