private List<Module> getModuleList(String json) throws JsonMappingException, JsonParseException, IOException {
		ObjectMapper mapper = new ObjectMapper();
		JMXResult jmxResult = mapper.readValue(json,
				new TypeReference<JMXResult>() {
				});
		List<Module> result = jmxResult.getValue().getModules();
		return result;
	}
retrieves a list of modules from the json result that was returned by Jolokia.

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