Infer the correct serializer from the message command
Update docs