dict: add merge/3