Allow items to be dicts