correct specs by swapping right code into right example
Merge pull request #1814 from tschady/tws/user-defined-metadata_example-swap

correct specs by swapping right code into right example