code: function netLogParser(data) {
    data = (data || '{}').toString();
    if (data.slice(data.length - 3) === ',\r\n') {
      data = data.slice(0, data.length - 3) + ']}';
    }
  
    return JSON.parse(data);
  }
docs: Net log has a buggy end of file, attempt to fix