- 
    
Improvement
 - 
    Resolution: Unresolved
 - 
    
Minor
 - 
    None
 
I tried a script like this:
return "this${1}"
And the groovy-axis plugin considers this not a string, and treats it as ['default'].
Since GString is essentially a language construct for groovy, I'd expect them to be treated as string here, even though they are technically a different type.
I think you'd only have to call toString() in the returned objects to deal with this.