Change endpoint back to xml