Add line information to JSON parsing errors
[fix] add missing read_space while skipping extra elements of a tuple