Added json_encode implementation for php<5.2
Merge pull request #87 from LionelMartin/3385af123f6b4dfc59aeaa69f180381307b64368

Added a json_encode implementation for PHP < 5.2 (free.fr)