Replacement of double quotes by single quotes where possible