simplify dictionary merging