if (params.has(ONEVENT_SUBSCRIPTION)) {
subscription = params.get(ONEVENT_SUBSCRIPTION).getAsString();
}
String type = params.get(ONEVENT_TYPE).getAsString();
JsonObject jsonData = (JsonObject) params.get(ONEVENT_DATA);
Props data = JsonUtils.fromJson(jsonData, Props.class);
eventHandler.processEvent(objectRef, subscription, type, data);
}