Optional pydantic json github. In Pydantic V2, model_validate_json works like parse_raw.