To be honest, still for homogeneity purpose I'd like some service keys to be renamed. For instance doctrine.eventmanager to doctrine.event_manager.

The solution would be to override the canonicalizeName in the factory.