return format to xml to json