[WIP] Add serializer interface

Targets #161.
Narg, I misread, I'm sorry. ("wl" vs. "ws", you know?)