Basic messaging between client and server through JSON complete