deprecate decodable/encodable