[WIP] Add serializer interface

Targets #161.
As described earlier: making this a `wl_array` makes more sense.