function merge(obj) {
  var i = 1
    , target
    , key;