3.14: encode media id during content types provided lookup, and add
default case clause