Handle nil objects being serialized via xml