require json in spec_helper

When running the tests outside of rake or bundler, the tests fail
because we don't require the json gem before calling `to_json`.
Merge pull request #61 from ktdreyer/spec-json

require json in spec_helper