libstruct correctly validates lists