add indentation to the json saved file