Fix format of xml responses