fix json unmarshalling of worker and job ids