Add construtor for building a response with a specified media type