How to edit the list element at a certain position in the nested list? I used a nested list structure like JSON data with names, a few elements where stored in Uppercase and few in lower cases. How to change at specific parts if elements are lower case to uppercase?