CMS-2043 Introduce InputTypeResolver for resolving both built-in and custom input types