Remove nested unions.  Ensure root of type structure is an HTStruct