add option to modify the lookup used to match MIME type