Support FORMAT=json

It'd be nice to be able to set an environment variable if we'll always want to see JSON output.