remove the json in code of the xml message