CRM-13986 - REST - Add XML output