Some open-loop code writing. Need to interpret methods file in the graph generation script
changes to json file to allow loading it using py-json
merged with upstream