code: function dotNotation(path) {
     if (path instanceof Array) {
        return {
           path: path,
           str: path.join('.')
        }
     }
     if (typeof path !== 'string') {
        return;
     }
     return {
        path: path.split('\.'),
        str: path
     }
  }
docs: dotNotation - A helper to extract dot notation
  
  @param  {type} path string or array
  @return {type}      Object { path : ['a','b'], str : 'a.b'}