add support for inverse dicts