Helpers for creating CLIs with serializable JSON output.
This package is largely based on code from Aptos CLI.