graph_def_json action: Use "graph_def_to_json" rather than "def_to_json".