What about open office docs? (ODF – OpenDocument Format, like .odt, .ods, .odp)

JavaScript in particular is actively hostile to stability and determinism.

I have not looked at those formats but take docx for example. That structure is complicated because the layout needs to be described and editable.