Java: Clean up json output, properly remove trailing commas.
Java: Clean up json output, properly remove trailing commas.

jacksonic/vjlofvhjfgm,foam-framework/foam2,foam-framework/foam2,TanayParikh/foam2,TanayParikh/foam2,TanayParikh/foam2,foam-framework/foam2,TanayParikh/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,jacksonic/vjlofvhjfgm