def to_json(self):
        """Convert the Design Day to a dictionary."""
        return {
            'location': self.location.to_json(),
            'design_days': [des_d.to_json() for des_d in self.design_days]
        }
Convert the Design Day to a dictionary.