Java utility to convert the edges and vertices in a JSON hierarchy
structure.