Modify the setting format from list to dictionary