Revisited implementation of JsonReporter in order to allow generation of the valid JSON in the target metric file