I have Isolated the cause of JSON error. I am running a string into json.loads(nested_list_str.replace("\'", \'\\"\')) in order to convert it in
json.loads(nested_list_str.replace("\'", \'\\"\'))