I'm probably missing something.  Why are we storing the image as a kroll dict instead of a string into 'data'?