add regression tests for xml-to-json conversion