Right now the outgoing messages are of type string.
string
Ideally we should define them well in messages.rs and only send specific schema back to the client.
messages.rs