[WIP] Add serializer interface

Targets #161.
Yep. But we discussed whether `ws_array`s hold `ws_objects` or other data, too, if you remember.