[[inputs.file]]
  files = ["./testcases/string_join/test.json"]
  data_format = "xpath_json"

  xpath_native_types = true

  [[inputs.file.xpath]]
    metric_name = "'foo'"
    timestamp = "//timestamp"
    timestamp_format = "unix"

    [inputs.file.xpath.fields]
      cpus = "string-join(//cpus/*, ';')"