Correctly feeding parameters to Groovy backend