create a JSON-based alternative control port protocol
The control port protocol is rather complex and it's difficult to get the syntax exactly right. So I think it would be very nice if we had an optional JSON-based protocol as well. The commands, responses and events could essentially have the same content. Writing a control port client would be greatly accelerated and much easier to ensure correctness, thereby making adoption of Tor easier for applications and tor controllers or monitoring apps. As an example, I would gladly drop the tor-control-port.js module in torbutton in favor of a JSON-based client.