[#72] session: Unify unmarshaling code

Commit 4a330a5706 pushed by fyrchik#72
Workflow tests.yml

Lint

Success

Set up job3s
actions/checkout@v32s
Set up Go51s
golangci-lint14s
Complete job33s