Entity.equals handles array properties