Implement merging of dicts with missing keys

closes #81