In my MVC app the controller gets the data (model) from an external API (so there is no model class being used) and passes that to the view. The data (model) has a container
You should create custom helper for just changing string format except using controller call.