changed the way you save json