Use rector, PHPUnit, Codeception and PHPStan to find and fix issues.
The import resulted in an exception if there was an array of types instead of a string. Both situations are now handled and API of models is kept. Existing imported data is also kept.