This should be loaded in the bootstrap function as $session_data['json']. I've generally been using the extract() function to change the scope of all $session_data[] values to local variables. However, didn't get to do that everywhere.