allow resources to match either hash