private Object toValueI(String name, int[] vals) {
            Object orig = parameter.get(name);
            if (orig.toString().indexOf('{') > -1) {
                // this is an array (hopefully 1dim)
                return Conversions.convert(vals, String.class);
            } else {
                return Integer.toString(vals[0]);
            }
        }