tupleize defaulted params, improve checking of args vs metamodel params
resolve type arguments when converting from param definition
use new convert$params function that takes whole metamodel
parameter declarations
parameter declarations
use new parameter declaration types
simplify code
unflatten is tested