Added js2xmlparse for json conversion and use fs to write xml to file