final_data = {'ROOT': root_list}
for dict in data:
    if dict['ROOT'] not in final_data['ROOT']:
        final_data['ROOT'].append(dict['ROOT'])
Converting list of dictionaries to unique list of dictionaries