Event type defaults to empty string instead of null. Null would become empty string for array indices but this change is made for clarity that event names should be strings.