Improve merging wildcards.

Simplify the JS expected when we’re merging unknown structures.