added test for serializing null
added deserialize
added serialization service interface