format is type and type is event,raster, etc
use layergroup getdata with type filter to get events
zap console
count category
Merge conflict; update layout dashboard; add color to aggregatedEvent objects