Javascript JSON bugfix in bigreport.pl