Design discussion: JSON output for rustdoc

This is fantastic, thanks. I have a lot of feels here and not much time to reply, but I’d like to mention the JSON API spec that @wycats and I work on; I think it’s a great fit for this problem.

I’ll elaborate more later.