Adding implementation and test of NetworkDataManager write.
Adding serialization to model GsonTypeAdapters.