Right now the outgoing messages are of type string.

Ideally we should define them well in messages.rs and only send specific schema back to the client.