add quack.compare to validate objects inside arrays