Sample collection persistence with samples and data
Change name parameter to key
Specs for sample collection persistence