SONAR-3692 Centralize the way widget property and settings property are generated