statistics: append to empty statistics data fix.
statistics: merge() method added.
introduce end-of-line normalization.
rapidjson: replace \r\n with \r.
rapidjson: allow writers to write not object and not array values to be written as root.