How to make a MutableDictionary into a immutable

toMutable()