benchmark: add json rendering
(cherry picked from commit 06c0179373ffc8418ed4d8336f625b5b125b7de9)