Infact I forgot that a writer already exists com.twitter.cassovary.util.io.GraphWriter so a converter is simply this reader + GraphWriter.