Adaptation to json messages from demo test