adapted mapper to be able to insert array collections

- [ ] test coverage
- [ ] finished the code
- [ ] gathered feedback for my changes
- [ ] submited changes to the documentation

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Tests pass?   | none
| Fixed tickets | none
| Doc           | [url to doc|none]