using internal 'stupid' IM fomrat to mime type convertion since IM provided mime type lookup is totaly bunkers