convert strings into python dict,my_dict = ast.literal_eval('{{{0}}}'.format(my_string))