Convert the cookie object to its JSON representation to avoid duplicate data
Use and test against session.cookie.expires instead of private property session.cookie._expires
Merge pull request #74 from lazd/master

Convert the cookie object to its JSON representation before storing