make Screenshot serializable

sometimes it may be useful to serialize Screenshot to compare screenshots in future, this pr provides this ability