I have the following scenario - consider the list of dictionaries as below (input):
data = [{\'key1\'