Add def and object to JSON output
Add class and member nodes to JSON