Entities must have data.

They may still be malformed later, but they must at least have data if
they don't have an event type.

Fixes #311