refined jsonObj to xml data