Change a str with double quotes to single quotes