This looks like a bug detected by gcc warning:
../../build/../src/event.cpp: In lambda function:
../../build/../src/event.cpp:237:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
ostream << "group";
~~~~~~~~^~~~~~~~~~
../../build/../src/event.cpp:238:9: note: here
case erlDevice:
^~~~