Moved json include into callbacks