I was trying to get some data out of ( ) and i found the value was returned as a string: etcd kubernetes you can see the quotes in the beginning, so after playing with sed for a bit , getting me nowhere , i discovered the flag of so… -r jq As you can see now you have a object back that we can pass back to : json jq just that. Thank you.