update json parser to keep long stats history