Java Depth Inheritance Tree explorer, generating a JSON file that represents a graph with nodes being class names and edges being inheritance relationships