use of json RawMessage for messages in ws that contain the useful field MsgType.