localstorge ver with write json