Implement SplitFunc for a stream of json messages. It will be used to read from websocket.