Refactored Websocket Json into Concern