serialization: statistics deserialization from rapidjson added.
statistics: truncating mechanics for statistics data added.
statistics: compress_histogram function added.
statistics: append(data) method added.