code: def related_records_78708(self, key, value):
      
      record = get_record_ref(maybe_int(value.get('w')), 'literature')
      if record:
          return {
              'curated_relation': record is not None,
              'record': record,
              'relation_freetext': value.get('i'),
          }
docs: Populate the ``related_records`` key.