We are writing it in uppercase in the tag official_name.

If you look at an object, for example https://www.openstreetmap.org/way/6611722 , you'll see a list of tags. The tag official_name follows the BAG. The tag name is the official_name adapted to OSM conventions. 