fix: invalid groovy sripts; fix GroovyEngineIntegration; improved hashCode method in GroupEntity (extract ID from hashCode and equals generation algorithm)