Custom Output Formats: The last piece of the puzzle

There are some small details left, but I just finished the last major bits of the “Custom Output Formats” feature.

I have demo-wrapped them up in the two commits below.

The last commit is a bit constructed, but shows how to configure custom output formats and media types.