Query interface for python dictionaries.