Parse response from Jenkins as JSON to get the jobs

After upgrading to Jenkins 1.508 from 1.454 the response from the server needed to be parsed as JSON before it could be processed in the all_jobs method