added logging of json content