json.prop("name", testCase.name());
json.prop("status", testCase.status().name());
json.prop("durationInMs", testCase.durationInMs());
Component testPlan = testCase.testPlan().component();
Integer ref = refByTestPlan.get(testPlan.key());
if (ref == null) {
ref = refByTestPlan.size() + 1;
refByTestPlan.put(testPlan.key(), ref);
componentsByKey.put(testPlan.key(), testPlan);
}