Update json formatter for append images embedding

Before fix, code like this does not append embedding info to json. I fixed it.
Code example:
    page.driver.browser.save_screenshot("report/#{scenario.__id__}.png")
    embed("#{scenario.__id__}.png", "image/png", "SCREENSHOT")