Fix definition of "params" attribute in the "primitive" resource