serialize to stream
<nlohmann/json.hpp>
std::ostream& operator<<( std::ostream& o, basic_json const& j);