Updated the format of the messages being sent to the server.