Adding json
Adding new cli-exception handling