Serialization error amended

Session keys have been converted to strings. This will fix #4.