Cleaning up version history Hippo CMS via a Groovy script