Added a XML output format to the Web API. Just pass @format=xml in the query string.