I actually just wrote a gem that pulls out this information for my own tracking. I have a rails app that tracks the performance of our functional tests. Right now my gem only works for the JSON format but I am currently adding HTML support. It doesn't work with Scenario Outlines as of yet as they do not have the desired amount of tracking I initially wanted (Gherkin 3 will).
In your ruby script:
require 'cuke_parser'
result = CukeParser.json(file_path)
file_path is the location to the directory where the cucumber.json file is (it currently expects the file to be named cucumber.json).
If you want to quickly dump the result to see what I pulled out for you
CukeParser.write_build(result,output)
where output is the file you want to dump everything to.
I track the overall duration for the entire suite of tests that were run as well as each individual feature, scenario and step. I also retrieve the reason for a failure and any screenshots associated with the failed step. The status of each step, scenario, feature and suite is tracked as well.
I am going to open up the repo to the public soon, just need to finish some coding on it. If you find it useful please ask for feature requests or report bugs. thanks!