pub(super) fn set_thread_count( root: CanonicalJsonObject, count: Option<UInt>, ) -> CanonicalJsonObject