Fallback for Slurm versions without JSON output
Observed behavior: resconfig fails when scontrol does not accept --json flag. This can happen in old Slurm versions or Slurm binaries with this function turned off.
Desired behavior: fall back from default json to parse method.