make sure we're dealing with strings when generating a name for the duplicate item pipeline