jq (http://stedolan.github.io/jq/ ) is a fabulous command line tools to post process JSON API response.
Here how you can easely get the list of Rudder API Directive (http://www.rudder-project.org/rudder-api-doc/#api-Directives-listDirectives), whith their id, name, parent Technique and Version:
% curl -k -H "X-API-Token: D6NckZMXawkQAsWTqUJHjsfUnVCY15da" -X GET https://192.168.41.2/rudder/api/latest/directives \
| jq '.data.directives[] | "\(.id) \(.techniqueName)[\(.techniqueVersion)] \(.displayName)"'
returns: