Fixing import from JSON functionto have correct keys, also to construct json full path.
Ignoring .pyc files.