pub fn render_component_templates( protocol_json: &str, component_tags_json: &str, inventory_hex: &str, ) -> Result<String, JsValue>