introduce stats_format to swich a format of /stats
remove disk stats on HTTP stats to avoid json_encode crashing.