jsonify params before stringing