Add option to format reponses as HTML