improve action result output formatting