Use a neater way to define or configure `gen-ws`. It should be controlled in one place. _Originally posted by @lilith218 in https://github.com/open-s4c/csb/issues/56#issuecomment-3991560877_