JSONLoader: Added check for Scene files. Fixes #4420.
JSONLoader: Code clean up.
Updated builds.