I\'m using a specific game making framework but I think the question applies to javascript
I was trying to make a narration script so the player can see \"The orc hi
This solution also work on the object containing nested keys.
Before pushing, stringify the obj by
JSON.stringify(obj)
And when you are using, parse by
JSON.parse(obj);