Use jsonify, rather than a for loop to output repo