code: function merge (target, src) {
          var dst = {};
  
          if (target && typeof target === 'object') {
              Object.keys(target).forEach(function (key) {
                  dst[key] = target[key];
              });
          }
          Object.keys(src).forEach(function (key) {
              if (typeof src[key] !== 'object' || !src[key]) {
                  dst[key] = src[key];
              } else {
                  if (!target[key]) {
                      dst[key] = src[key];
                  } else {
                      dst[key] = merge(target[key], src[key]);
                  }
              }
          });
  
          return dst;
      }
docs: merge objects (copied from deepmerge)