Fix and add toJsonString() to CLI responses

Fix misnamed classes in toString().
Add toJsonString() to all CLI responses.
Can we just call getClass(), so when this gets invariably copied later, that it will do the right thing?  Here and the others also.