convert xml format data to json format