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