Include revision in JSON into output

Hi,

I found it useful to include the revision in the JSON info output, thought others might too.

Ash.