Replace jq by $, remove Trailing whitespaces