wrap lists with a dict