rename event_type field to "name"

I didn't want to use "type" since that is a reserved keyword in python.

Reviewers: @rocha