Fix for GRAILS-10666: GroovyPageTagWriter.toString() stackoverflow