code: def answer_json_to_strings(answer: Dict[str, Any]) -> Tuple[Tuple[str, ...], str]:
      
      if "number" in answer and answer["number"]:
          return tuple([str(answer["number"])]), "number"
      elif "spans" in answer and answer["spans"]:
          return tuple(answer["spans"]), "span" if len(answer["spans"]) == 1 else "spans"
      elif "date" in answer:
          return tuple(["{0} {1} {2}".format(answer["date"]["day"],
                                             answer["date"]["month"],
                                             answer["date"]["year"])]), "date"
      else:
          raise ValueError(f"Answer type not found, should be one of number, spans or date at: {json.dumps(answer)}")
docs: Takes an answer JSON blob from the DROP data release and converts it into strings used for
      evaluation.