don't create intermediate string while creating json (rustdoc)