adapted mapper to be able to insert array collections

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