docs: private Object getEvent(EventEnvelope eventEnvelope) {
          Object event = eventEnvelope.getEvent();
          if (event instanceof Data) {
              event = eventService.nodeEngine.toObject(event);
          }
          return event;
      }