Fix null pointer dereference for !JsonLineNumbers.