updated for new Biosamples rest interface