Added JSON support for changeset/download.