Using mimeMagic to get mime type for a file
Matching protocol in yml (vcr generated file) with rekognition file
Get width and height of image from api response.