Fix image file creation with attributes from array
Adding json decode for image creation