experimenting - trying to create json layerloader