Improved convert_ical_to_json.