PIM-3417: allow to use the YamlReader for real imports

| Q                    | A
| -------------------- | ---
| Bug fix?             | N
| New feature?         | N
| BC breaks?           | N
| CI currently passes? | N
| Tests pass?          | Y
| Scenarios pass?      | Y
| Checkstyle issues?*  | N
| PMD issues?**        | N
| Changelog updated?   | -
| Fixed tickets        | -
| DB schema updated?   | -
| Migration script?    | -
| Doc PR               | -