convert  responses to xml