I messed up git-send-email and sent this without an introductory email,
even though I wrote one...
You'll want to apply jprovazn's "JSON responds for
instances/deployments/pools" before this patch. I have ACK'ed that patch, but
it's not pushed.
Also note that most of this work is in support of UI work which is yet
to occur, so there are few places where you can actually see this in
action. I tinkered with sending AJAX requests from Firebug for testing,
but also leveraged some of what Jan did with automated testing.
-- Matt