code: function setPropertyByPath(obj, propString, value) {
  
      var propNames = propString.split('.');
      var propLength = propNames.length - 1;
      var tmpObj = obj;
  
      for (var i = 0; i <= propLength; i++) {
          tmpObj = tmpObj[propNames[i]] = i !== propLength ? {} : value;
      }
      return obj;
  }
docs: /* --- HELPER METHODS -- 
  Deep sets a property on an object
  @param {object} obj to modify
  @param {string} propString property to add (can contain . notation for child elements)
  @param {any} value to assign
  @returns {object} modified object