Fixed serialization issues in Session. Prevented issues with `Session::getId` avoiding rollback decorators