Jon: adding content-type to api for better rendering in the browser.