Hi,
Is this JSON class something different than JSONMessage() ?  JSONMessage is the only one I can find at moment, and it seems to be depending on json_encode().