Now layer image format can be specified in layers.json - closes #1