Introduced debug-dump-reduction for great good

I didn't even serialise mine to disk, just wondering if it is worth making this so we can both use it, and I change my code, or we let the two different paths through given the different circumstances. I think I am inclined to make it consistent, but I currently don't have feature ids at all so was wondering if you need them. Just leave this and I will update the other PR.