implemented jsonml2text and tests