added EventType marshaler