always default to json mime type for responses.