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

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