How to disable binary messages in socket?

I started jupyter notebook with this command:

jupyter notebook --NotebookApp.allow_origin=‘*’ --NotebookApp.token=‘myTokenKey’ --port=8888

And I have npm pocket @jupyterlab/services and connect to Jupyter server in this way:

ServerConnection.makeSettings({
baseUrl: ‘http://localhost:8888/’,
wsUrl: ‘ws://localhost:8888/’,
token: ‘myTokenKey’,
});

All is working, but i see binary messages in socket. How i can disable this serialize and get standart json?

The binary messages are probably part of a websocket connection:
https://jupyter-server.readthedocs.io/en/latest/developers/websocket-protocols.html