nso_action use json result format if available in NSO (#37395)
nso_action use json result format if available in NSO (#37395)

Use JSON result format when it is available and make the result format
returned look like it when JSON result format is not available in NSO.
thaim/ansible,thaim/ansible