add String for message struct, add more json to the second example