changes message format to show in chat