GRAILS-10985: Raw encoder should return a copy of a String that is marked as "raw"