allow matching on presence of a key when value is a dict