added yajl-ruby JSON parsing and encoding