refactored JSONConverter switch condition into the DeclarativeTypeParser_ classes