GROOVY-5931: groovy.util.slurpersupport.GPathResult is not java.lang.Iterable