Do not write empty maps and lists.
Fix JSON to XML converting.
Fix line length in output and DTD URI.