docs: def h5ToDict(h5, readH5pyDataset=True):
      """ Read a hdf5 file into a dictionary """
      h = h5py.File(h5, "r")
      ret = unwrapArray(h, recursive=True, readH5pyDataset=readH5pyDataset)
      if readH5pyDataset: h.close()
      return ret