first pass to upload image data in json