Added id to json local storage.