build: create JSON files containing image info