Update JSON code to account for new capabilities.  Also, the 'setup' and 'admin' capabilities should imply 'debug'.