notify: Fix merging of header dicts