docs: def remove_csv_from_json(d):
      """
      Remove all CSV data 'values' entries from paleoData table in the JSON structure.
      :param dict d: JSON data - old structure
      :return dict: Metadata dictionary without CSV values
      """
      logger_jsons.info("enter remove_csv_from_json")
  
      # Check both sections
      if "paleoData" in d:
          d = _remove_csv_from_section(d, "paleoData")
  
      if "chronData" in d:
          d = _remove_csv_from_section(d, "chronData")
  
      logger_jsons.info("exit remove_csv_from_json")
      return d