[WIP] PIM-2420 Agnosticized batch doctrine writers

| Q                   | A
| ------------------- | ---
| Bug fix?            | yes
| New feature?        | no
| BC breaks?          | no
| Tests pass?         | no
| Scenarios pass?     | no
| Checkstyle issues?  | no
| Changelog updated?  | no
| Fixed tickets       | PIM-2420
| Doc PR              |