added __getitem__ to the event object

Signed-off-by: Miethpo <miethpomail@yahoo.co.uk>