RecordToBizdoc with nested element names being the same

I’ll answer my own question: Turns out the XML had a properly encoded ampersand but when you do recordToBizdoc you need to check the html encode parameter to true so that IS can create a byte array for the xml content. Wow!