initial version of getting JSON about the job numbers

fixes https://github.com/dmwm/WMCore/issues/4916