def to_dict(self):
    """Returns the Time instance as a usable dictionary for craftai"""
    return {
      "timestamp": int(self.timestamp),
      "timezone": self.timezone,
      "time_of_day": self.time_of_day,
      "day_of_week": self.day_of_week,
      "day_of_month": self.day_of_month,
      "month_of_year": self.month_of_year,
      "utc_iso": self.utc_iso
    }
Returns the Time instance as a usable dictionary for craftai