XML Escaping bugfix in rest api