updating JSON gem to ~> 1.8.1 for compatibility with newer gems

The older JSON version (1.5.2) was causing issues with some newer gems such as Sidekiq.

All tests pass with JSON 1.8.1.