CMS-1203 Simplify serialization of InputTypeConfig