else if (i != 0)
outs.println(",");
serializeRow(row, row.getKey(), outs);
i++;
}
<BUG>outs.println("\n}");
</BUG>
outs.flush();
scanner.close();
}

else if (i != 0)
outs.println(",");
serializeRow(row, row.getKey(), outs);
i++;
}
outs.println("\n]");
outs.flush();
scanner.close();
}
