Reduced wasted in the template function, to ensure JSON data is kept to a minimum