Fix in properly escaping XML output