Add the function saveJSON but it is not necessary