[FEATURE] added groups for serializer

__Tasks:__

- [ ] gather feedback for my changes

__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | none
| Fixed tickets | none
| BC Breaks     | -
| Doc           | -
I would check with `!empty($translations)`, so you will also avoid to run into an empty array.