Replace double quotes with single one when possible