[Router] added option to generate route names with underscores for camel-cased parts in the namespace