added special writer to handle uninitialized Integer and Double objects. They are serialized as 0 values.