Extract the variables from the scxml and create them ahead of time in the context