Set the Report Browser report on the left pane to raw-xml.xsl with your output file open.
This will display the source xml data in a color coded display which also supports folder collapse and expand [+/- icons] and open a copy of the xsl style sheet that displays "most" of what you want.
You should also look through many of the other reports to see if any of them display similar data but actually include the bearings. Keep in mind, that there are Open Roads Geometry Reports and Native InRoads Reports that also use the same type of input XML data. There are ICS and Data Collection folders that may have geometry reports with bearings and and of course the Geometry folder. Keep in mind, most reports write HTML output and may use different functions but are acting on the same data, so finding code that retrieves the data is as important as determining which function will format it as you need it displayed.
Other reports that might be useful are in Legal Description or Map Check.
The line bearing will be @direction under HorizontalLine.
XML is traversed using Xpalths. The full path is \InRoads\GeometryProject\HorizontalAlignment\HorizontalElements\HorizontalLine@direction but usually, via a template or a for each process, you will be somewhere down in the tree. If the code is already pulling line lengths, it is using @length. All you need to do is replicate that, but will need to use one of the functions that turns the @direction (in radians) to a bearing value. Also, in the ASCII reports, there is usually special functions designed to convert the value to text and to also pad the string with spaces so that the output does not run on from one value to another with no spaces in between. When you bump up the precision to multiple decimals places, some reports will end up with no space characters between some values.
There are a couple of PDF's on modifying XML Reports in the C:\ProgramData\Bentley\Civil\ReportBrowser\8.11.9\en folder.