fix merging sameAs and thumbnails (check for uniqueness of values)