docs: function expandPackageDescriptor(descriptor) {
    descriptor = cloneDeep(descriptor)
    descriptor.profile = descriptor.profile || config.DEFAULT_DATA_PACKAGE_PROFILE
    for (const [index, resource] of (descriptor.resources || []).entries()) {
      descriptor.resources[index] = expandResourceDescriptor(resource)
    }
    return descriptor
  }