Work with JsValues instead of strings in websocket communication