code: def record_affiliations(self, key, value):
      
      record = get_record_ref(value.get('z'), 'institutions')
  
      return {
          'curated_relation': record is not None,
          'record': record,
          'value': value.get('a'),
      }
docs: Populate the ``record_affiliations`` key.