replace *json* gem by *yajl-ruby* to speed up json encode and decode

[yajl-ruby](https://github.com/brianmario/yajl-ruby):
1.  ~3.5x faster than JSON.generate
2.  ~1.9x faster than JSON.parse