Cleanup: introduce effectVariableName in makeEffectCodeFromJson.