Dino catalog3

Refactored simplified Dinodex soution
For an `if/else` like this, use all five lines. This construction is hard to read. Try to use a question mark for `output_json` if you have the option, it's a predicate method.

```
if cli_parser.output_json?`
   output_as_json(catalog)
else
  output_as_text(catalog)
end
```

In production code, I might encourage having a `catalog.to_s` and `catalog.to_json` to replace those methods, for what it's worth.