Added better content negotiation methods to response and controller