code: def get_json(self):
          
          ratings_dict = {
              'category': self.category,
              'date': self.date,
              'day': self.weekday,
              'next week': self.next_week,
              'last week': self.last_week,
              'entries': self.entries,
              'url': self.url
          }
          return to_json(ratings_dict)
docs: Serialize ratings object as JSON-formatted string