Convert#

list_to_dict(list_of_dict, key[, value])

Convert list of dictionaries to dictionary by key.