Ensure consistent JSON format for calendars