Whenever strings are encountered, we should put that into a dictionary, basically a hash that looks like :
{ 1 => 'MyClass', 2 => 'my_method', 3 => 'String' }
This could be sent to the client when a message batch is dispatched. The client will need to keep referring this reconstruct strings in the UI. This is going to bring down our network cost by a lot, I have not measured how much yet.