add json support via metrics-json