Fixing encoding to UTF-8 for OkJson backend

Fixes #9122