This change seems to be actually unrelated with the main description of the pull request. I think I see we're you're going, but can you elaborate? For example, I see json is missing, maybe it's better to look in the GeoServer application context and gather all mime types dynamically instead, just like the caps document generator does? This would ensure the list is always in synch with the set of plugins currently loaded in GeoServer