Strangely, not a mention of groovy which I seem to remember was somewhat motivated by use cases such as this?