Using GSON instead of org.json for better message handling.
Using GSON for outgoing messages as well.