Description
When using "json" as format for the RecommenderServlet, the JSON returned is not valid: there is a comma ',' just before the closing bracket of the "item" array.
The fix is trivial: do not add a ',' if the item is the last one.
Patch is attached.