Adding failures to the json report

Added a failures field for each spec in the json report, which is an array of all failed "expect"s, including expected and actual values, and stack trace.