Utilizing the code at How do I use a shell-script as Chrome Native Messaging host application as a template and given the file file.json which contains
file.json
Assuming that file.json contains the JSON as indicated, I believe all you will need is:
json=$(jq '{message: .}' file.json)
If you then echo "$json", the result will be:
echo "$json"
{ "message": { "text": "abc" } }