cf-dc-api: declare return variables in API and report them after run