Add serialization to RPC things

Not sure I got all the ABC fu correct.

(Changed to pass the context to the serializers, which we need)

Related to blueprint rpc-object-serialization

Change-Id: I0a33baddee3e28dfc47100eb3216b679558b0bdd