Move the mime types array to a configuration file (see #6843)