content-type added to the response depending on the requested format