Pass serializer_t as argument to commands.
Fix types.
Remove msgpack checking.
Read correct msgpack type.