Major bug fix, we were using the same array as the default for all fields that weren't present in an xml record.  Now have the defaults in a function so we instantiate the defaults new every time.