Add time field to JSON data