code: def load_ref(filename, answer_field):
      lines = open(filename).readlines()
      all_answers = []
      for line in lines:
          line = line.strip()
          line = json.loads(line)
          answers = line[answer_field]
  
          if isinstance(answers, str):
              answers = [answers]
  
          all_answers.append(answers)
  
      return all_answers
  
imports: import argparse
  import json
  import numpy
  from rouge_score import rouge_scorer, scoring
label_desc: Use image node_id 2 for calling a global function with example usage: load_ref(filename, answer_field) and returns: all_answers