Added XML output (XStream serialized) to REST methods (response content
type is determined according to the 'Accept' header, with JSON and XML
being the only two accepted content types available so far)