It looks like the routine to annotate an invalid JSON line is broken again (at least when reading from a file). Note: need to add a unit test to actually compare the string that is produced by this with the expected string.