remove charset from json responses. Closes #1631