add method for merging dictionaries