Use safeTrimQuotes to parse check log and card log