add util.each for objects