Extend the JSON output of `openacp start --json` to include `name`
(from config.instanceName), `directory` (path.dirname of root),
and `port` (from api.port file or config fallback). The `dir` field
is kept for backward compatibility. instanceId is resolved from the
instance registry when available, falling back to path.basename(root).