adds conversion of list to dict