Simple wrapper for json_encode and json_decode that falls back on Services_JSON class.
Converts to and from JSON format.