do metadata merge by iterating on the given registry instead of on 'this'

The usual is to merge a small registry into a big one
properly benefit from the merge stack when doing the type comparison