Result of __traits(parent) may not have a type
Merge pull request #1719 from yebblies/typeofmodule

Result of __traits(parent) may not have a type
Fix and test for JSONValue(true), JSONValue(false)
Merge pull request #1720 from shoo/fix_json

Fix and test for JSONValue(true), JSONValue(false)