Rather than add in "containtedDataDefinitionResults", it would probably be nicer to use within the script by just adding in each definition key and value directly.  So, if you have 2 definitions with keys "weight" and "height", then you should able to access the data behind these in the scripting context via "weight" and "height" variables.