Replace JSON option with option to set statsinterval, defaults to 1000ms, 0 to disable stats altogether