SI-8834 serialize, sequenceToXML pass all options

serialize and sequenceToXML recursively call each other but were not
passing all formatting options.  Fix that.