  import numpy as np
  
  from PIL import Image, ImageDraw, ImageTk
  
  from lib.Serializer import JSONSerializer
  
  from ._config import Config as UserConfig
  from ._redirector import WidgetRedirector
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 
</s> remove from lib.Serializer import JSONSerializer
 </s> add from lib.serializer import get_serializer </s> remove from lib import Serializer
 </s> add from lib.serializer import get_serializer, get_serializer_from_filename </s> remove from lib import Serializer
 </s> add from lib.serializer import get_serializer </s> remove from lib import Serializer
 </s> add from lib.serializer import get_serializer </s> remove from lib.Serializer import JSONSerializer
 </s> add from lib.serializer import get_serializer
from lib.serializer import get_serializer
  import numpy as np
  
  from PIL import Image, ImageDraw, ImageTk
  
from lib.serializer import get_serializer
  
  from ._config import Config as UserConfig
  from ._redirector import WidgetRedirector
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
keep keep keep keep replace keep keep keep keep keep
 Standardize serialization (#903)

* Standardize serialization

- Linting
- Standardize serializer use throughout code
- Extend serializer to load and save files
- Always load and save in utf-8
- Create documentation 
lib/gui/utils.py