implement ClientStore2#_deserialize method for error handling

Do not use postfix if. Please use standard `if` statement instead.