Simple wrapper on localStorage to store JSON