sig
  val dump_to_json : unit -> Yojson.Basic.t
  val dump_to_stdout : unit -> unit
end