Add key for event name
Add state for member name
Add state for beeing read with event serializing
Add helper for calculating number of written bytes
Add helper for generating a new key in the buffer
DRAFT for serialize_event()