Make sure the print utility you are using does not interpret newlines:
> printf "%s" '{ "name": ["hi\n", "there"] }' | jq .
or
> echo -E '{ "name": ["hi\n", "there"] }' | jq .