Support outputting the version as JSON