deepIndexOf for arrays of objects