class needed to send the json message. Future client.