Changed echo to an XML response.