fixed the json-graph output logic.  outputs in the correct format now! yipee.