Add support for (de)serializing swh-model in RPC calls.
This allows running the validating proxy on the client side instead of the server side.