JSON format for events