Convert between JSON and YAML in CLI