refactoring - moved jsonml2html into separate library