convertor for xml to json