Fixed issue with json parsing error. Only html_escape html responses. Fixes #85.