CollectionBuffer: make work for strings