Like JSON.strinfigy but uses React to generate DOM elements