def to_json(self):
return {<EOL>'<STR_LIT>': self.header.to_json(),<EOL>'<STR_LIT>': self._values,<EOL>'<STR_LIT>': self.datetimes,<EOL>'<STR_LIT>': self._validated_a_period<EOL>}<EOL>
Convert Data Collection to a dictionary.