docs: def cachestr_repr(val):
      """
      Representation of an object as a cache string.
      """
      try:
          memview = memoryview(val)
          return memview.tobytes()
      except Exception:
          try:
              return to_json(val)
          except Exception:
              # SUPER HACK
              if repr(val.__class__) == "<class 'ibeis.control.IBEISControl.IBEISController'>":
                  return val.get_dbname()