This is basically porting https://github.com/projectfluent/fluent.js/pull/380 to fluent-bundle-rs.