Could you export the formatter so that when running programmatically, we can generate the same formatting output?