Problem: job-info.list returns job states as numerical values. This encourages people parsing the output in a bash script with jq to hard code the enum values.
It would be better IMHO to return the state names (strings) from RFC 21.
That might work out better in the python bindings too...