CORE-4838: modified the job listing service so that it can also list Foundation API jobs