Output to JSON and Terminal