Extracted method to obtain a configuration object from a properties
object directly