HTML5 localStorage/sessionStorage API with automatic JSON Object parsing