fixes a json encoding error with gettext proxies
Merge pull request #1958 from digi604/fixes

fixes a json encoding error with gettext proxies