Add json suffix to files and prettify output