Save object to graph db.