Finish xml to json.