change format of json storage