allow the session object to be accessed with string or symbol keys