Changed all xml to json