corrected json parsing of image info