Cannot use array to contain groovy parameters