Add config which allows setting the formatter