change the way json saves