Web Storage API wrapper and helper to save objects-like data