Added new attrs to as_json in event.