support for json message, improve KO/OK display