jsonify struct finished