I think `dict:from_list` might help here.