JS-244 The ThML filter needs to build the current SWORD standard OSIS for variants.
Also removed a spurious creation of a StringBuilder and unused imports.