Codecs canDecode correctly works for Lists and Arrays