var ObjName = "Person";
//If I assign "Institute" then I need Institute JSON object
//I have a global Person JSON with many attributes.
var thisObj = ObjName.toObject(); //need something of this kind
//I know eval can be used, but just checking any other better way to do this.
Please advise if there is better way to convert String to Object of its name in nodejs, sails js