updating sam binary to hdf5 converter to use json metadata standard