Fix inconsistent JSON error return behavior on job create.

refs #3004