removed unused rest endpoints, improved extraction of hdf metadata files