Added html and csv outputs

HTML and csv are returned as strings