Parsing JSON in graphs