{test:{"title":""}, "content":{"date":""}}
This is a JS object. So you are calling the object in the voiceTestJSON array.
Unlike JSON, JS Object names can be written with or without quotation marks.
What you want to do can be achieved as follows:
var test = 'dd'+questNumb; var newObject = {"content":{"date":""}}; //this part does not need a variable property name newObject[test] = {"title":""};
Thus, you set the property with the name contained in the test to {"title": ""}.
source share