@Override
public void put(Value value, Object object, CoderContext context) {
DefaultIssue issue = (DefaultIssue) object;
value.putString(issue.key());
InputPath inputPath = issue.inputPath();
if (inputPath != null) {
if (inputPath instanceof InputDir) {
value.put(0);
value.putString(((DefaultInputDir) inputPath).moduleKey());
value.putString(inputPath.relativePath());