[events] add events section, pass a hash not a raw value

Fixes #71 

@iamnirav @jamesreggio