Ensure Job type is correctly serialised