Case class saver and Vertex to case class