Remove the XML payload codes since it is useless in only supporting json
scenarios