remove trailing spaces from jq version strings