ws-json adds a little abstraction to websocket