[CB-4731] avoid duplicates when merging arrays

removes duplicate entries from arrays when modifying
plist files