Retain the regex test for types not found in specifications.json

This should be the best of both worlds.
Reduce redundant checks.

These are already checked in the lookup, and there are no other
content-types for these.