Fix and add toJsonString() to CLI responses

Fix misnamed classes in toString().
Add toJsonString() to all CLI responses.
Sure thing.