Added serialization/deserialization

https://code.google.com/p/google-gson/