Allow JsonOutStream to be provided with any std::ostream instance on construction