class Solve::Solver::Serializer

def format_graph(graph)

def format_graph(graph)
  artifacts = graph.artifacts.inject([]) do |list, artifact|
    list << format_artifact(artifact)
  end
  { "graph" => artifacts }
end