$ echo "$JWT" | jq -R 'split(".") | select(length > 0) | .[0],.[1] | @base64d | fromjson'