adding the default value to the jsonify method