modified the format of stimuli variables: field 'variables' is now a dict like this: {'variable_name_1': value, 'variable_name_2: value}.