adds list as a dict primitive