fix encoding of xml response