Convert xml into groovy / groovyfews