Ability to record events to json added