Handling pydantic classes for output format using aliases for special characters

It seems that the {output_format} for pydnatic classes doesn’t map the “alias” for the attribute names to send to the LLM. So is there a recommended method to handle the following scenario or is this a bug so the mapping using aliases works correctly?

e.g. fields which use characters like @ in their name “@schematarget” you have to define the python class an use alias.
schema_location: Optional[str] = Field(None, alias=“@schemaLocation”, description=“A URI to a JSON-Schema file that defines additional attributes and relationships”)

I would like to ensure the LLM generates and returns the proper named output so this output can be validated against a schema before mapping back to the python class for example.