allow the format to also dictate the response content type