Serialization test: null values are now ignored when serializing to JSON.
Added XML doc comments.