Use JSON+localStorage for graph clipboard