Cleanup: introduce targetVariableName in makeTargettingCodeFromJson.