Simple JSON formatter

This requires #238.

This will introduces explicit formatter testing.