After a keyword parameter value from a node is read in from JSON we now lub everything to fix the type.

This change is needed because of the random testing framework showing problems with the assumption that the type remains correct