Enforce that event payloads are objects