public Object t(Object obj) throws Exception { Map m = (Map) obj; Map r = new HashMap(); Iterator it = m.keySet().iterator(); while (it.hasNext()) { Object key = it.next(); Object value = m.get(key); r.put(key, t.t(value)); } return r; }