[contorller] save app.json file in pretty format