adding event type lookup in the json