rename map to dict