get error message in 'ps ax' failure case

We still want JSON.stringify too because that includes stuff like the
exit code.

See #2158