Additional checks in JsonExtractMainClass