  import os
  from datetime import datetime
  from shutil import copyfile, copytree, rmtree
  
  from lib import Serializer
  from lib.utils import get_folder
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
 
</s> remove from lib import Serializer
 </s> add from lib.serializer import get_serializer, get_serializer_from_filename </s> remove from lib.Serializer import JSONSerializer
 </s> add from lib.serializer import get_serializer </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_from_filename </s> remove from lib import Serializer
 </s> add from lib.serializer import get_serializer
from lib.serializer import get_serializer
  import os
  from datetime import datetime
  from shutil import copyfile, copytree, rmtree
  
from lib.serializer import get_serializer
  from lib.utils import get_folder
  
  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/model/backup_restore.py