Clean-up: use json_answer method for JSON messages.