code: function getValue(data, path) {
    if (typeof data !== 'object' || data === null) {
      return void 0;
    } else if (path.length === 1) {
      return data[path[0]];
    }
    return getValue(data[path[0]], path.slice(1));
  }
docs: getValue(data, path) -> mixed - data (object): locale - path (array): path to property  get value from locale hash