docs: def put_tsids(x):
      """
      (Recursive) Add in TSids into any columns that do not have them.
      Look for "columns" keys, and then start looping and adding generated TSids to each column
  
      :param any x: Unknown
      :return any x: Unknown
      """
      try:
          if isinstance(x, dict):
              try:
                  for k, v in x.items():
                      # Is this the columns key?
                      if k == "columns":
                          try:
                              # loop over each column of data. Sorted by variableName key
                              for var, data in v.items():
                                  try:
                                      # make a case-insensitive keys list for checking existence of "tsid"
                                      keys = [key.lower() for key in data.keys()]
                                      # If a TSid already exists, then we don't need to do anything.
                                      if "tsid" not in keys:
                                          # generate the TSid, and add it to the dictionary
                                          data["TSid"] = generate_tsid()
                                          logger_misc.info("put_tsids: Generated new TSid: {}".format(data["TSid"]))
                                  except AttributeError as e:
                                      logger_misc.debug("put_tsids: level 3: AttributeError: {}".format(e))
                                  except Exception as e:
                                      logger_misc.debug("put_tsids: level 3: Exception: {}".format(e))
                          except Exception as e:
                              print("put_tsids: level 2: Exception: {}, {}".format(k, e))
                      # If it's not "columns", then dive deeper.
                      else:
                          x[k] = put_tsids(v)
              except Exception as e:
                  print("put_tsids: level 1: Exception: {}, {}".format(k, e))
          # Item is a list, dive deeper for each item in the list
          elif isinstance(x, list):
              for idx, entry in enumerate(x):
                  x[idx] = put_tsids(entry)
      except Exception as e:
          print("put_tsids: root: Exception: {}, {}".format(k, e))
      return x