specify charset on api response

Declare charset used in header on API response. This is correct and it removes display problems when checking api responses via browser.