Fix JSON for image