Added JSON parsing for ImageLayer