HDF5: Put metadata in separate dictionary