Adds serialization of UIImage