Working Serializer for TextureGenerator objects.