[WIP] PIM-2317 : update the groups property (MongoDB support)

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