gh-935

**not ready for merge**

Right now this takes care of generating the right output format - consuming it is another matter