Allow specifying a default serialization value if marshaled object is None