a modest optimization for the collection pickler