Support xml to json