def create_relationship_dict(source, destination, user_id, context_id):
  """Create dictionary representation of relationship"""
  return {
      "source_type": source.type,
      "source_id": source.id,
      "destination_type": destination.type,
      "destination_id": destination.id,
      "modified_by_id": user_id,
      "context_id": context_id,
  }