Added #jsonify in AS JSON Encoder
Replaced encode_json with ::JSON.generate