Switch to yajl

Switched to yajl from the standard JSON to reduce memory usage. We now
only use half as much memory on Ruby 2.0 and above. Ruby versions below
2.0 mostly unaffected.