Use the -r (or --raw-output) option to emit raw strings as output:
-r
--raw-output
jq -r '.name' <json.txt