added job resource + tests for the json webservice