Add some function comments to nested_merge