Adding OutputFormatter base class

What's the state of the tests for JsonOutputFormatter? Are there legacy tests we need to port?