Add stringify method to the model to use instead of passing two version of the same object to the template