qapi: Flat unions with arbitrary discriminator