Add a pretty printing option.

It seems like a silly little function. But including it everywhere else
would have been worse.
Bump dependency versions