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.