UTF-8 support for JSON-RPC