Then your strategy of writing out a dump file(s) and post-processing what you want is probably a good one.
Steve