Refactoring: Delegating from 'to be an array whose items satisfy' to 'to be a map whose values satisfy'