Suppress "sequence of required modules" behavior for json data module

Also change the order of if statements a bit to eliminate an
unnecessary (if cheap) call to Program.getModuleExtension.
Merge pull request #682 from learning-unlimited/fix-json-views-require-login

Suppress "sequence of required modules" behavior for json data module