store output_formatter in globals