Start tidying up Legacy formatter API adapter

I want to turn this into a module that we'll mix-in to formatters
implementing the old API. We can do this automatically for 2.0 to keep
backards compatiblity, but eventually it will be removed.