When downloading JSON, convert version and swagger keys from int to string

Fixes #153