You mean using 'Accept: aplication/xml' always even in the case the payload (i.e. the content type) is JSON?

I would rather suggest to use application/xml if the payload is XML or application/json if the payload is JSON.