Added JSON portability modules for tgModels with demosw