}
// annotation has second priority
Annotation annotation = AnnotationUtil.findAnnotation(annotations, EventRepresentation.class);
if (annotation != null) {
EventRepresentation eventRepresentation = (EventRepresentation) annotation;
return !eventRepresentation.array();
}
// use engine-wide default
return configs.getEngineDefaults().getEventMeta().getDefaultEventRepresentation() == Configuration.EventRepresentation.MAP;
}