format console api command response