cosmetic
consolidate serialize to buffer, isolate session key issue - not fixed