fn resolve_create_connection_payload( with_properties: &BTreeMap<String, String>, ) -> Result<Payload, RwError>