add function to beautify json file