Register output formatter