JSON based image format