Quick and dirty solution: a new --packages argument allows you to specify an explicit set of packages to include in the dump. There is also now a new GServices setting that can provide a value for it.