Updated version of rapidjson added. Added a generic AddMetric method that takes any type of metric key value pair and appends it to the son object.