Convert extensions to Content-Type values and vice versa