Double encode JSON data to match Pusher.