Feature request: Nested objects as script attributes?

Playcanvas editor/scripting should allow the user to add script attribute of type: {..} instead of type:"someString" in order to define a nested object within {} (which can then further contain sub attributes or further nested objects for each sub attribute property) . The playcanvas editor should reflect this with additional collapsible panels for each object attributes and the ability to (on/off) the object attribute itself, in order to re-reference/nullify the attribute.

What do you think?