Allow responses to dictate the response type