add stream api for job output