Using arraydiff to improve array diffing