code: function getObjectByKey(data, prop) {
      if (!prop || !~prop.indexOf('.')) return data[prop];
  
      var result = prop
        , structure = data;
  
      for (var paths = prop.split('.'), i = 0, length = paths.length; i < length; i++) {
        result = structure[+paths[i] || paths[i]];
        structure = result;
      }
  
      return result || data[prop];
    }
docs: Small helper function that allows you get a key from an object by
  specifying it's depth using dot notations.
  
  Example:
  
  - path.to.0.keys
  - key.depth
  
  @param {Ojbect|Array} data
  @param {String} prop
  @returns {Mixed}
  @api private