Fixing up event json object