A simple wrapper for localStorage and sessionStorage access, with a in-memory object fallback if not present