code: function setObject(path, obj, val) {
    path = path.split('/')
    path.forEach(function(subPath) {
      obj = obj[subPath] = obj[subPath] || val
    })
  }
docs: Set a nested value on an object. @param {String} path @param {Object} obj @param {Any} value