Change doublequoted strings to singelquoted if '\Resource' is contained