Map-based multisets