add error handling to ServiceTasklet and changed json response on jobs request