utils for list of dictionary