Inconsistent usage of JSON error output.