convert_ical_to_json: Support to generate holiday lists from past years.
convert_ical_to_json: Refactoring.