use dict to map item with metadata