Fix in util.merge to properly match property names.

When merging objects, ```util.merge``` uses ```seen```/```lastseen``` to avoid entering into an infinite loop while copying recursive objects. The ```seen``` array, then, contain the name of all properties already copied in the current level or above.

However, current code in ```util.merge``` does not push attribute names to the array but attribute values. This change fixes the problem.