Imporved the json representation of an event