saving congig data into a temporary json