docs: def to_json(self, include_id=False):
          """Create a dictionary of one BEL Edge that can be used to create an edge in a :class:`BELGraph`.
  
          :param bool include_id: Include the database identifier?
          :return: Dictionary that contains information about an edge of a :class:`BELGraph`. Including participants
                   and edge data information.
          :rtype: dict
          """
          source_dict = self.source.to_json()
          source_dict['sha512'] = source_dict.sha512
          target_dict = self.target.to_json()
          target_dict['sha512'] = target_dict.sha512
  
          result = {
              'source': source_dict,
              'target': target_dict,
              'key': self.sha512,
              'data': json.loads(self.data),
          }
  
          if include_id:
              result['id'] = self.id
  
          return result