Get more generic
Use genericity in infolist decoder