[FEATURE] added groups for serializer

__Tasks:__

- [ ] gather feedback for my changes

__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | none
| Fixed tickets | none
| BC Breaks     | -
| Doc           | -
Do not use `is_null`, but `!== null`, because it is faster.