Ok json

This is a change to make the client Ruby 1.8.7-compatible. Replacing 1.9.3-dependent JSON lib with OK-JSON.