Fix and add toJsonString() to CLI responses

Fix misnamed classes in toString().
Add toJsonString() to all CLI responses.
Sorry if I'm being picky, but you can just call getClass() (without 'this.')