Improve error format of parseJson with file name and line number.