{
Map<String, Object> params = new HashMap<String, Object>();
Map<String, Object> key1 = new HashMap<String, Object>();
key1.put("type", "gauge");
key1.put("key", new ConfigPattern("some.#p1#.key"));
key1.put("value", 1D);
key1.put("multiplier", 1D);
Map<String, Object> key2 = new HashMap<String, Object>();
key2.put("type", "timer");
key2.put("key", new ConfigPattern("someother.#p1#.key"));
key2.put("value", 2D);
key2.put("multiplier", 1D);
params.put("keys", Arrays.<Map>asList(key1, key2));