a common library for storing and retrieving JSON data in localStorage properties