Change callindex from json to xml