unused comments removed
jsonify the data for the view