Library for comparing and merging sets of objects