handled tree structure for JSON objects