Remove string and index mapping from graph object