- added serialization to the Image struct