docs: def update_lipd_v1_3_names(d):
      """
      Update the key names and merge interpretation data
      :param dict d: Metadata
      :return dict d: Metadata
      """
      try:
          if isinstance(d, dict):
              for k, v in d.items():
                  # dive down for dictionaries
                  d[k] = update_lipd_v1_3_names(v)
  
                  # see if the key is in the remove list
                  if k in VER_1_3["swap"]:
                      # replace the key in the dictionary
                      _key_swap = VER_1_3["swap"][k]
                      d[_key_swap] = d.pop(k)
                  elif k in VER_1_3["tables"]:
                      d[k] = ""
              for _key in ["climateInterpretation", "isotopeInterpretation"]:
                  if _key in d:
                      d = _merge_interpretations(d)
  
          elif isinstance(d, list):
              # dive down for lists
              for idx, i in enumerate(d):
                  d[idx] = update_lipd_v1_3_names(i)
      except Exception as e:
          print("Error: Unable to update file to LiPD v1.3: {}".format(e))
          logger_versions.error("update_lipd_v1_3_names: Exception: {}".format(e))
      return d