The XMPP authors also made Telehash which was a JSON based P2P messaging protocol. Never really took off, but also interesting to look at for ideas.