Fix dedupe value exception (#7700)

The dedupe_value pipeline module was generating uncaught exceptions because it was incorrectly assuming that all elements in the array it evaluates are strings.

See https://issues.dp.la/issues/7700