improved logging of message JSON body