Event.to_hash should use symbols as keys

#247