if (args != null) {
Iterator<JsonNode> iterator = args.elements();
if (iterator.hasNext()) {
JsonNode node = iterator.next();
Class<?> eventClass = eventMapping.get(eventName);
Object arg = mapper.treeToValue(node, eventClass);
eventArgs.add(arg);
while (iterator.hasNext()) {
node = iterator.next();
arg = mapper.treeToValue(node, Object.class);
eventArgs.add(arg);