{ serde_json::from_str::<serde_json::Value>(data.

{"moving this to inside a macro if you need to.

Template.0.render(&this.0, context).to_string().map_or_else( |e| { tracing::error!("unable to render template: {e}"); None .