docs: function setDeep(obj, sample, value){
    for (var key in obj)
    {
      if (hasOwnProperty.call(obj, key))
      {
        if (obj[key] === sample)
        {
          obj[key] = value;
          return;
        }
        else if (typeof obj[key] === 'object')
          return setDeep(obj[key], sample, value);
      }
    }
  }