[WIP] Add serializer interface

Targets #161.
It sais `ws_array`, which implied it holds objects.