Extracting metrics from JSON resources, using JSONPath for it