[[inputs.file]]
  files = ["./testcases/name_expansion/test.json"]
  data_format = "xpath_json"
  xpath_native_types = true

  [[inputs.file.xpath]]
    metric_name = "'devices'"
    metric_selection = "/devices/*"
    field_selection = "descendant::*[not(*)]"
    field_name_expansion = true
