Fix implicit import for json formatter.