Uses JSONNode for incoming messages