Support multi level tag merge