Skip non-dict items in dict_list_reduce function