cucumber/cucumber — pull request #617 by arturgspb (2014-01-14 13:04:32+00:00)
Title: 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")