docs: def loads(astring):
          """Decompress and deserialize string into a Python object via pickle."""
          try:
              return pickle.loads(lzma.decompress(astring))
          except lzma.LZMAError as e:
              raise SerializerError(
                  'Cannot decompress object ("{}")'.format(str(e))
              )
          except pickle.UnpicklingError as e:
              raise SerializerError(
                  'Cannot restore object ("{}")'.format(str(e))
              )