Could you convert this to `str::from_utf8_owned(s.inner())` to save a copy? (Similarly for all the other places that use `(@mut MemWriter).inner_ref()`; including the `ToStr for Json` instance in this file, which you appear to have not removed `@mut` from?)