the method has a side-effect: it stores the framework property back in the passed in map. Since the config map is not modifiable, I just made the copy. 

Since I am new to scala: How would I create a modifiable map, so that I don't get an exception, when calling this method?