escape single quotes in string properties