[WIP] A new fresh start with the JUnit formatter

The previous PR got a bit messy and now I need to rewrite the hole
formatter, I thought it was simpler to just start a new branch + PR. 

This continues what was started in #378