ImageInfo now class for serialization