new changes to xgmml to json code for hazen network