Only build the top-level hash on the things that aren't pruned out.