Double quotes to single quotes when possible