update json encoding method.

setting content-type header is unnecessary in Services_JSON::encode. and it causes errors about setting header after content when used in standalone script files.
Merge pull request #6 from ibrahimsag/patch-1

update json encoding method.