Making MustacheFactoryProvider threadsafe