code: def inject_nulls(data: Mapping, field_names) -> dict:
      
  
      record = dict()
  
      for field in field_names:
          record[field] = data.get(field, None)
  
      return record
docs: Insert None as value for missing fields.