Zenoss JSON API Shell / Bash script