RESTWS-206:When the client specifies an Accept-Type of xml we should

https://tickets.openmrs.org/browse/RESTWS-206