added some jq functionality