test code cleaning
test using the Gson TypeAdapter rather than the annotation based serialization