Pydantic configdict json. instead of foo: int = 1 use foo: ClassVar[int] = 1.