private Module getModule(String json) throws JsonMappingException, JsonParseException, IOException {
		ObjectMapper mapper = new ObjectMapper();
		JMXChannelResult jmxResult = mapper.readValue(json,
				new TypeReference<JMXChannelResult>() {
				});
		return jmxResult.getValue();
	}
Maps Jolokia's JSON return value for module metrics to a Java Module object.

@param json raw json response string from jolokia
@return A module metrics result
@throws Exception error parsing JSON
spring-xd-integration-test/src/main/java/org/springframework/xd/integration/util/XdEc2Validation.java