Refactor to remove code duplication from ServerConfigurationBean.

Saw a comment flagging tech debt, so I fixed it.
I may also need to adjust the Lombok annotations - it may be creating getters and setters for the property wrappers, which should be completely internal. I'll check and update.

[ ] ensure property wrappers do not have getters or setters