Code to generate the new year, quarter and month lists in timeseries Json.