get reference as seq bytes from mdtag