docs: function resolveValues(obj) {
      var ret = {};
      return Promise.all(Object.keys(obj).map(function (k) {
          var val = (0, _promisify2['default'])(obj[k]);
          return val.then(function (v) {
              return ret[k] = v;
          });
      })).then(function () {
          return ret;
      });
  }