Implement merging of dicts with missing keys