Fix for certain characters messing up the XML in the request