replace native C json lib with pure ruby - to ease its bundling in traveling-bosh

...ling-bosh