Revert "remove charset from json responses. Closes #1631"

This reverts commit 138d74aefa75b0287aab8a905406553ecd3073c5.
Release 3.3.6