add support for dicts