use jsonify for console
console patching