Various improvements to the JSON code and test reporting bits

I didn't know about this Format.apply, I think I have a couple spots over in https://github.com/sbt/sbt-remote-control/pull/185 that should be using it...