Once we are happy with the way the json responses are working, we need to provide a conversion to xml.