turned message sending protocol into json and updated version information