Set global properties
void setGlobalProperties(Map<String, dynamic> properties) { globalProperties.clear(); globalProperties.addAll(properties); }