When converting a scenario to JSON don't create a period for a variable, when the values for this period are always None in scenario.
When computing the value of a boolean or fixed integer holder, use the value for the first period.