Add support for sessionStorage & plain obects

resolves #1 and closes #2