merge-parser: Implement (untested) output

The directories are not setup yet, so that needs to be fixed.