I use the hyperref and the bookmark package. Hence the table of content (toc) of the document gets also displayed in the side bar of the PDF reader, when viewing the generated document.
My problem is now that I have mathematical expressions in the headlines of some sections, which then are of course not properly displayed in the toc at the side bar of the PDF viewer. For instance the entry

in the documents table of content gets displayed as

in the side bar of the PDF viewer. I know that it is not possible to have the correct mathematical expression written there, but I would for instance like to have X_VIII instead of XVIII.
Another problem i have is that in some headers I added a \vspace{8pt}, and sadly the 8pt is then displayed in the side bar of the PDF viewer:

Therefore my question: Is there a way to manually specify the text to appear in the side bar of the PDF to each section/subsection, etc.?

