code: function (path) {
          if (_.isArray(path)) {
              return path;
          } else if (_.isString(path)) {
              return path.split('.');
          }
      }
docs: Path as string "property1.property2.property3" or array [property1, property2, property3] to array [property1, property2, property3]
  @param path
  @returns {*}