added an example through which serialization and deserialization can be
done through Gson