convert output of slurm commands to json, add better scontrol wrapper