Reverting "Output json result."
Revert "Output json result."

This reverts commit 3ce5d801ecc11e5aecb08f986adb3f3a5f45a0c7.