Resolve json import in models/layers.py