Using .../api/xml?depth=...&exclude=//... has proven to be extremely inefficient in some cases, as well as difficult to use (since you have to constantly be adding exclusions for newly visible elements you have no interest in). Here is a typical negative list:
Would prefer to be able to directly specify the kinds of things you do want to have returned. This would mean changes to Stapler.
would return only elements matching //job/name, //job/displayName, etc. (The root element need not be listed.)
Alternate syntax (harder to parse by Hudson but arguably easier to read):
Might be feasible to do for JSON and Python formats as well as XML, which would also be nice since those lack XPath support.