Switch domain to "contenttype" if key starts with "contenttype."

Fixes issue #2344