Add API for getting JSON of gists