Adds a CLI for getting JSON data from the server