[FIXED JENKINS-26031] Added export of triggered builds to XML/JSON API