Renamed job_id to id, and fixed py3 bug, per #415