[MD][gt-imagemosaic]: Improving mergeBehavior logic to allow multiple custom dimensions (but only one of them having multiple values specified)