Update JSON rendering to comply with spec:
render attributes with tree like structure
Update JSON parsing to comply with JSON spec:
use tree-like attributes structure