fix for json data for image create