Made datum_t::print use as_json_scoped.