docs: function resolveObject(arg) {
    var resolvedObject = {};
    return Object.keys(arg)
        .reduce(function(soFar, key) {
          return soFar
              .then(resolveItem.bind(null, arg[key]))
              .then(function(value) {
                resolvedObject[key] = value;
              });
        }, Promise.resolve())
        .then(function() {
          return resolvedObject;
        });
  }