@Override
public void put(Value value, Object object, CoderContext context) {
DefaultTestCaseExecution t = (DefaultTestCaseExecution) object;
value.putUTF(((DefaultInputFile) t.testFile()).moduleKey());
value.putUTF(((DefaultInputFile) t.testFile()).relativePath());
value.putUTF(t.name());
putUTFOrNull(value, t.message());
putUTFOrNull(value, t.stackTrace());
Long durationInMs = t.durationInMs();
value.put(durationInMs != null ? durationInMs.longValue() : -1);