Working serialization and parsing via gson.