def METHOD_NAME(self, package=None, ref_package_by='id'):
    """Returns full relationship info as a dict from the point of view
    of the given package if specified.
    e.g. {'subject':u'annakarenina',
          'type':u'depends_on',
          'object':u'warandpeace',
          'comment':u'Since 1843'}"""
    subject_pkg = self.subject
    object_pkg = self.object
    relationship_type = self.type
    if package and package == object_pkg:
        subject_pkg = self.object
        object_pkg = self.subject
        relationship_type = self.forward_to_reverse_type(self.type)
    subject_ref = getattr(subject_pkg, ref_package_by)
    object_ref = getattr(object_pkg, ref_package_by)
    return {'subject':subject_ref,
            'type':relationship_type,
            'object':object_ref,
            'comment':self.comment}