code: def save_to_json(self):
          
  
          requestvalues = {
              'id': self.dataset,
              'publicationDate': self.publication_date.strftime('%Y-%m-%d'),
              'source': self.source,
              'refUrl': self.refernce_url,
          }        
          return json.dumps(requestvalues)
docs: The method saves data to json from object