\u0027
is not "garbage", it's apostrophe character so it might be a bug in your application. Moreover, apostrophe doesn't need escaping according to JSON website
So I would recommend double checking the requirement.
In the meantime you still can "assert" the response as Response Assertion in Contains
and Matches
modes treats input as a regular expression so pattern doesn't have to be exact match, it could be a "match" in terms of regular expressions
And finally you can replace these unicode escapes with apostrophe signs using JSR223 PostProcessor and code like:
def unicode = new String(prev.getResponseData())
log.info('Unicode: ' + unicode)
def normal = unicode.replaceAll('\\\\u0027','\'')
log.info('Normal: ' + normal)
prev.setResponseData(normal, 'UTF-8')
It will replace all occurrences of \u0027
with '
in the response and substitute response data with the new value:
More information: Apache Groovy - Why and How You Should Use It